package com.tom.service;

import com.tom.domain.Login;
import com.baomidou.mybatisplus.service.IService;
import com.tom.dto.LoginAndMealIdDto;
import com.tom.util.AjaxResult;

import java.util.Map;

/**
 * <p>
 * 登录表 服务类
 * </p>
 *
 * @author pengh.liu
 * @since 2021-11-22
 */
public interface ILoginService extends IService<Login> {

    AjaxResult saveLoginAndMeal(LoginAndMealIdDto loginAndMealIdDto);

    Map<String,String> login(Login login);

    Map<String,String> refresh(String refreshToken);
}
